<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header :: header('新增')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<div class="border-left border-right border-top" style="margin: 5px; margin-bottom: 0px; padding-bottom: 2px;">
			<div style="height: 106px;">
				<table class="form" id="form">
					<tr>
						<th class="formTitle" style="text-align: left; padding-left: 7px; width: 55px;">对象编号：</th>
						<td class="formValue">
							<input id="enCode" type="text"   class="form-control input-underline" placeholder="请输入编号" isvalid="yes" checkexpession="Num" />
						</td>
						<th class="formTitle" style="text-align: left; padding-left: 7px; width: 55px;">对象名称：</th>
						<td class="formValue">
							<input id="fullName" type="text"  class="form-control input-underline" placeholder="请输入名称" isvalid="yes" checkexpession="NotNull" />
						</td>
					</tr>
					<tr>
						<th class="formTitle" style="text-align: left; padding-left: 7px; width: 55px;">规则方式：</th>
						<td class="formValue">
							<div id="mode" type="select" class="ui-select ui-underline" isvalid="yes" checkexpession="NotNull">
								<ul>
									<li data-value="1">自动</li>
									<li data-value="0">可更改</li>
								</ul>
							</div>
						</td>
						<th class="formTitle" style="text-align: left; padding-left: 7px; width: 55px;">系统功能：</th>
						<td class="formValue">
							<div id="moduleId" type="selectTree" class="ui-select ui-underline" isvalid="yes" checkexpession="NotNull"></div>
						</td>
					</tr>
					<tr>
						<th class="formTitle" style="text-align: left; padding-left: 7px; width: 55px;">说明</th>
						<td class="formValue" colspan="3">
							<input id="description" type="text" class="form-control input-underline" placeholder="添加说明" />
						</td>
					</tr>
				</table>
			</div>
		</div>
		<div style="margin: 5px; margin-top: 0px; margin-bottom: 0px;">
			<table id="gridTable"></table>
			<style>
				.ui-jqgrid .ui-jqgrid-caption {
					text-align: right;
					padding-right: 5px;
					background-color: #F5F5F5;
				}
			</style>
		</div>
		<div style="position: absolute; top: 135px; left: 80px;">
			<a id="sx-add" class="btn btn-success btn-xs" onclick="btn_add_field()"><i class="fa fa-plus"></i>&nbsp;添加</a>
			<a id="sx-edit" class="btn btn-info btn-xs" onclick="btn_edit_field()"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			<a id="sx-delete" class="btn btn-danger btn-xs" onclick="btn_delete_field()"><i class="fa fa-trash-o"></i>&nbsp;移除</a>
		</div>
	</div>

	<div th:include="include/footer_jqGrid :: footer"></div>
	<script th:src="@{/statics/js/base/codeRule/add.js}"></script>
</body>
</html>